$OpenBSD: patch-kde3support_kdecore_k3tempfile_cpp,v 1.1 2013/12/08 19:13:32 zhuk Exp $
More correct implementation of random() & Co., using arc4random().
--- kde3support/kdecore/k3tempfile.cpp.orig	Wed Oct 16 10:53:39 2013
+++ kde3support/kdecore/k3tempfile.cpp	Wed Oct 16 10:53:50 2013
@@ -47,7 +47,6 @@
 #include <QtCore/QTextIStream>
 
 #include "kglobal.h"
-#include "krandom.h"
 #include "kcomponentdata.h"
 #include "kstandarddirs.h"
 #include "kde_file.h"
@@ -115,9 +114,6 @@ bool
 K3TempFile::create(const QString &filePrefix, const QString &fileExtension,
 		  int mode)
 {
-   // make sure the random seed is randomized
-   (void) KRandom::random();
-
    QByteArray ext = QFile::encodeName(fileExtension);
    QByteArray nme = QFile::encodeName(filePrefix) + "XXXXXX" + ext;
    if((mFd = mkstemps(nme.data(), ext.length())) < 0)
